package com.sq.api.ai;

import com.sq.api.openfeignFallbackFactory.UserServiceApiFallbackFactory;
import com.sq.common.web.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author Li sir
 * @Date 2024/10/12
 */

@FeignClient(name = "sq-ai-server",
        contextId = "ChannelService",
        url = "http://localhost:8084",
//        dismiss404 = true,
        fallbackFactory = UserServiceApiFallbackFactory.class)
public interface ChannelService {


    @PostMapping("/api/channel/option")
    public R aiOption();

}
